<?php

namespace App\Exceptions;

class MessageException extends BaseException
{
    protected int $baseCode = self::BASE_CODE_OF_MESSAGE;

    const CODE_1001 = 1001;


    protected array $showMsg = [
        self::CODE_1001 => '公告不存在',
    ];

    function __construct($msg = '', $code = 0)
    {
        parent::__construct($msg, $code);
    }
}
